package com.marmot.cloud.framework.admin.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.marmot.cloud.framework.orm.jpa.comment.annotation.Comment;
import com.marmot.cloud.framework.orm.jpa.entity.BaseJpaEntity;
import jakarta.persistence.Column;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.Version;
import lombok.Data;
import org.hibernate.annotations.GenericGenerator;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedDate;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class MenuDTO implements Serializable {
    public String id;

    protected String createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    protected LocalDateTime createdAt;

    protected String updateBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    protected LocalDateTime updatedAt;

    protected Integer deleted;

    protected Long version;

    private String menuName;

    private String parentId;

    private Integer orderNum;

    private String url;

    private Integer menuType;

    private String perms;

    private Integer level;

    private String icon;


    private Integer isFrame;

    private Integer visible;

    private String remark;


}
